package com.springcloud.movieservice.service.impl;

import com.springcloud.movieservice.mapper.MovieMapper;
import com.springcloud.movieservice.pojo.Movie;
import com.springcloud.movieservice.service.MovieService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MovieServiceImpl implements MovieService {
    @Autowired
    private MovieMapper movieMapper;
    @Override
    public Movie getMovieById(Integer id) {
        return movieMapper.getMovieById(id);
    }
}
